package njust.csc

/**
 * @Author ZhouHang
 * @Date 24/8/11 周日
 */
const val AXMLPrinter2 = "N:\\Code\\PL\\StaticAnalysis\\ApkExplorer\\input\\env\\AXMLPrinter2.jar"

fun main() {
    val manifest = homePath.resolve("input").resolve("scam_static_fail\\tmp\\AndroidManifest.xml")
    val cmd = listOf(
        "java", "-jar", AXMLPrinter2,
        manifest.toAbsolutePath().toString()
    )
    val process = ProcessBuilder(cmd)
        .redirectOutput(ProcessBuilder.Redirect.INHERIT)
        .redirectError(ProcessBuilder.Redirect.INHERIT)
    process.start().waitFor()
}